home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MACD 5
/
MACD 5.bin
/
internet
/
irc_i_dodatki
/
irc_convert
/
convert.amirx
< prev
next >
Wrap
Text File
|
1997-04-24
|
503b
|
25 lines
/* Convert.AMIRX -- Temp Convertor for AmIRC
\\ written by Michael Brown
\\
\\ Put this script in PROGDIR:rexx/ and add this as an alias with the
\\ command: "/alias convert /rx convert %p"
*/
PARSE ARG ARGS
OPTIONS RESULTS
fname = "Ram:temp"
if ARGS = "" then do
"echo P="d2c(27)"b«Error» Usage: RX Convert <temp><C/F>"
exit
end
address command "c:convert " ARGS ">ram:temp"
call open("Input", fname, 'R')
xx = readln("Input")
"echo P="d2c(27)"b«Results» "xx
call close("Input")
exit
end